<form class="layui-form layui-form-pane" lay-filter="FormBaseConstFileAdd" action="/base/const/file/add">
    <div class="layui-row p-l-sm m-b-xl">
        <div class="layui-row">
            <div th:replace="common/plugin :: pa-form-input('text','资源校验码(*)','resourceMd5','layui-col-md6',32,'required','')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','文件校验码(*)','resourceCrc','layui-col-md6',32,'required','')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','资源类型(*)','resourceType','layui-col-md6',32,'required','')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','资源本地路径(*)','resourcePath','layui-col-md6',512,'required','')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','资源访问路径(*)','resourceUrl','layui-col-md6',512,'required','')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','数据备注(*)','resourceMemo','layui-col-md6',65535,'required','')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','(*)','resourceSize','layui-col-md6',32,'required','')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','(*)','resourceDesc','layui-col-md6',32,'required','')"></div>
        </div>
    </div>
</form>
<script>
    layui.use('form', function () {
        let form = layui.form;
        form.render();
    });
</script>